<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="f"%>
<body>
	<div class="wrap">
		<c:if test="${backType==1}">
			<div class="nav">
				<div class="return">
					<a
						href="${requestScope.FPWEB.rootPath }/user/query${requestScope.FPWEB.urlStuff}">返回上一级</a>
				</div>
			</div>
			<div class="nav">
				<ul class="cc">
					<li class="current"><a
						href="${requestScope.FPWEB.rootPath }/user/basic${requestScope.FPWEB.urlStuff}?id=${model.user_id}">基本信息</a></li>
					<li><a
						href="${requestScope.FPWEB.rootPath }/user/data${requestScope.FPWEB.urlStuff}?id=${model.user_id}">详细信息</a></li>
					<li><a
						href="${requestScope.FPWEB.rootPath }/user/loginLog${requestScope.FPWEB.urlStuff}?user_id=${model.user_id}">登录记录</a></li>
				</ul>
			</div>
		</c:if>
		<c:if test="${backType==2}">
			<div class="nav">
				<div class="return">
					<a
						href="${requestScope.FPWEB.rootPath }/user/list${requestScope.FPWEB.urlStuff}">返回上一级</a>
				</div>
			</div>
			<div class="nav">
				<ul class="cc">
					<li class="current"><a href="${requestScope.FPWEB.rootPath }/user/basicList${requestScope.FPWEB.urlStuff}?id=${model.user_id}">基本信息</a></li>
					<li><a href="${requestScope.FPWEB.rootPath }/user/dataList${requestScope.FPWEB.urlStuff}?id=${model.user_id}">详细信息</a></li>
					<li><a href="${requestScope.FPWEB.rootPath }/user/fund${requestScope.FPWEB.urlStuff}?id=${model.user_id}">资金总览</a></li>
					<li><a href="${requestScope.FPWEB.rootPath }/user/fundData${requestScope.FPWEB.urlStuff}?user_id=${model.user_id}">资金明细</a></li>
					<li><a href="${requestScope.FPWEB.rootPath }/user/myReward${requestScope.FPWEB.urlStuff}?user_id=${model.user_id}">我的奖励</a></li>
					<li><a href="${requestScope.FPWEB.rootPath }/user/experience/list${requestScope.FPWEB.urlStuff}?user_id=${model.user_id}">小钱包体验金</a></li>
					<li><a href="${requestScope.FPWEB.rootPath }/user/creditor${requestScope.FPWEB.urlStuff}?user_id=${model.user_id}">投资明细</a></li>
					<li><a href="${requestScope.FPWEB.rootPath }/user/loginLogList${requestScope.FPWEB.urlStuff}?user_id=${model.user_id}">登录记录</a></li>
				<c:if test="${requestScope.adminData.adminModel.role==6||requestScope.adminData.adminModel.role==0}">
				<li><a
					href="${requestScope.FPWEB.rootPath }/user/edit${requestScope.FPWEB.urlStuff}?user_id=${model.user_id}">修改信息</a></li>
				</c:if>
				<li><a href="${requestScope.FPWEB.rootPath }/user/mobileHistory${requestScope.FPWEB.urlStuff}?user_id=${model.user_id}">手机变更历史记录</a></li>
				<li><a href="${requestScope.FPWEB.rootPath }/user/idcardLogList${requestScope.FPWEB.urlStuff}?user_id=${model.user_id}">身份证历史数据</a></li>
				<li><a href="${requestScope.FPWEB.rootPath }/user/vipTypeChangeLog${requestScope.FPWEB.urlStuff}?user_id=${model.user_id}">会员等级变动记录</a></li>
					<li><a
							href="${requestScope.FPWEB.rootPath }/user/jfData${requestScope.FPWEB.urlStuff}?user_id=${model.user_id}">积分明细</a></li>
				</ul>
			</div>
		</c:if>
		<div class="h_a">基本信息</div>
		<div class="table_full">
			<table width="100%">
				<tr>
					<th width="80">账户</th>
					<td width="130">${model.username}</td>
					<th width="80">手机</th>
					<td width="200">${model.strMap.mobile}</td>
					<th width="80">邮箱</th>
					<td width="150">${model.email}</td>
					<td rowspan="5" style="background: #f2f2f2"></td>
				</tr>
				<tr>
					<th>登录密码</th>
					<td>${model.strMap.password}</td>
					<th>交易密码</th>
					<td colspan="4"><font color="red">${model.strMap.paypassword}</font></td>
				</tr>
				<tr>
					<th>绑定QQ登录</th>
					<td>${model.strMap.qq}</td>
					<th>绑定SINA登录</th>
					<td>${model.strMap.sina}</td>
				</tr>
				<tr>
					<th>注册时间</th>
					<td>${model.strMap.regdate}</td>
					<th>注册IP</th>
					<td>${model.regip}</td>
					<th>注册地</th>
					<td colspan="2">${model.strMap.regip}</td>
				</tr>
				<tr>
					<th>最后登陆时间</th>
					<td>${model.strMap.lastdate}</td>
					<th>最后登陆IP</th>
					<td>${model.lastip}</td>
					<th>最后登陆地</th>
					<td colspan="2">${model.strMap.lastip}</td>
				</tr>
				<tr>
					<th>登录次数</th>
					<td>${model.loginnum} 次</td>
					<th>是否锁定</th>
					<td colspan="4"><font color="green">${model.strMap.islock}
					</font></td>
				</tr>
			</table>
		</div>
		<div class="h_a">实名信息</div>
		<div class="table_full">
		<table width="100%">
			<tr>
					<th>真实姓名</th>
					<td>${idInfo.idname}</td>
					<th>身份证号码</th>
					<td>${idInfo.idcard}</td>
					<th>性别</th>
					<td>${idInfo.strMap.sex}</td>
				</tr>
				<tr>
					<th>生日</th>
					<td>${idInfo.strMap.birthday}</td>
					<th>年龄</th>
					<td>${idInfo.strMap.age}</td>
					<th>认证时间</th>
					<td>${idInfo.strMap.addtime}</td>
				</tr>
			</table>
		</div>
		<c:if test="${!empty borrowInfo}">
		<div class="h_a">借款信息</div>
		<div class="table_full">
		<table width="100%">
			<tr>
					<th>信用等级</th>
					<td>${borrowInfo.strMap.credit_id}</td>
					<th>信用额度</th>
					<td><f:formatNumber value="${borrowInfo.credit}" pattern=",##0.00"/></td>
					<th>已使用额度</th>
					<td><f:formatNumber value="${borrowInfo.credit_re}" pattern=",##0.00"/></td>
				</tr>
				<tr>
					<th>申请借款次数</th>
					<td>${borrowInfo.apply}次</td>
					<th>成功借款次数</th>
					<td colspan="4"> ${borrowInfo.applyok}次</td>
				</tr>
		</table>
		</div>
		</c:if>
	</div>
	<script>
		YJD.use('AppAdminCommon');
	</script>
</body>